﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
	xmlns:visualizationToolkit="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
	x:Class="CityLife.SelectorDesign"
	d:DesignWidth="200" d:DesignHeight="200">
         
	<UserControl.Resources>
		<visualizationToolkit:StringFormatConverter x:Key="StringFormatConverter"/>
	</UserControl.Resources>
         
<Border Opacity="1" Background="#FF7A90E4" BorderThickness="1" CornerRadius="30">
	<Grid   Opacity="1" VerticalAlignment="Top" >
		<Grid.ColumnDefinitions>
			 
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="80"/>
			<RowDefinition Height="70"/>
		</Grid.RowDefinitions>
            <Canvas x:Name="ThumbCanvas" Height="90" Grid.Row="0" VerticalAlignment="Top" Canvas.ZIndex="1000" Background="#FFB53636" Margin="53,8,55,0"/>
                <!--<Image Grid.Row="0"   Source="{Binding Thumbnail}" Stretch="None" HorizontalAlignment="Center"  VerticalAlignment="Center" Width="80" Height="80"        />-->

                            <Grid Grid.Row="1"
		  Grid.Column="0" Grid.ColumnSpan="2"  >
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="20"/>
                                    <RowDefinition Height="20"/>
                                    <RowDefinition Height="20"/>
                                    <RowDefinition Height="10"/>
                                </Grid.RowDefinitions>
                                <TextBlock  Text="{Binding Name}" Grid.Row="0" />
                             
                                <TextBlock   Text="{Binding XP}"  Grid.Row="1"/>
                                <TextBlock Grid.Row="1"><Run Text="XP"/></TextBlock>
                      
                                <TextBlock   Text="{Binding Cost}"  Grid.Row="2"/>
                                <TextBlock  Grid.Row="2"><Run Text="$"/></TextBlock>
                                
                                <TextBlock  Grid.Row="3"  Text="{Binding BuildDuration}"/>
                    
                            


                            </Grid>

	 

		<!--string Name { get; set; }
        public int Cost { get; set; }
        public int XP { get; set; }
        public TimeSpan BuildDuration { get; set; }
        public TimeSpan RepairDuration { get; set; }
        public double MaxAge { get; set; }
        Image Thumbnail { get; set; }-->

        
	</Grid>
		</Border>
</UserControl>